package com.ycsyxt.admin.entity;

/**
 * @author ycs(15241496739 @ 163.com)
 * @date 2021/10/7
 **/
public class ChatMessage {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 昵称
     */
    private String name;

    /**
     * 发送时间
     */
    private String date;

    /**
     * 头像
     */
    private String img;

    /**
     * 发送消息内容
     */
    private String message;

    /**
     * 是否自己发送的，1：是，0：否
     */
    private Integer mine;

    /**
     * 类型，0：文本，1：图片，2：音频，3：视频
     */
    private Integer type;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getDate() {
        return date;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getImg() {
        return img;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setMine(Integer mine) {
        this.mine = mine;
    }

    public Integer getMine() {
        return mine;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getType() {
        return type;
    }
}
